package com.example.aircraftticketingsystemserver.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;

import java.time.LocalDateTime;
@Data
public class Notification {
        @TableId(value = "notification_id", type = IdType.AUTO)
        private Integer notificationId;
        private Integer userId;
        private Integer flightId;
        private Integer orderId;
        private String message;
        @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
        private String createdTime;


    }

